/*
 * Copyright (C) 2009-2018 Hangzhou 2Dfire Technology Co., Ltd. All rights reserved
 */
package com.ws.soa.consumer.service;

import com.ws.soa.consumer.dao.UserDAO;
import com.ws.soa.consumer.domain.UserDO;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * UserService
 *
 * @author luobosi@2dfire.com
 * @since 2018-11-19
 */
@Service("userService")
public class UserService {

    @Resource
    private UserDAO userDAO;

    public boolean save(UserDO userDO) {
        return this.userDAO.save(userDO);
    }
}
